package com.mygame.gateway.server.queue;

import io.nats.client.Nats;
import io.nats.streaming.StreamingConnection;
import io.nats.streaming.StreamingConnectionFactory;

public enum NatsQueue {
    INSTANCE;

    private StreamingConnection sc;

    public void init(StreamingConnection connection) {
        if (sc != null) {
            return;
        }
        sc = connection;
    }

    public StreamingConnection getSc(){
        return sc;
    }


}
